//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "SimCluster.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
SimCluster::SimCluster() : x(0), y(0), similarity(0) {}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
SimCluster::SimCluster(int x, int y, double similarity) {
  this->x           = x;
  this->y           = y;
  this->similarity  = similarity;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
SimCluster::SimCluster(const SimCluster& simCluster) {
  this->x           = simCluster.x;
  this->y           = simCluster.y;
  this->similarity  = simCluster.similarity;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
SimCluster::~SimCluster() {}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
void SimCluster::X(int x) {
  if (x > 0) this->x = x;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
void SimCluster::Y(int y) {
  if (y > 0) this->y = y;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
void SimCluster::Similarity(double similarity) {
  this->similarity = similarity;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
int SimCluster::X(void) {
  return x;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
int SimCluster::Y(void) { 
  return y;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
double SimCluster::Similarity(void) { 
  return similarity;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
SimCluster SimCluster::operator=(const SimCluster& simCluster) {
  x           = simCluster.x;
  y           = simCluster.y;
  similarity  = simCluster.similarity;
  return *this;
}
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
